home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global StartTermLine, EndTermLine, SelectedStory, NowMode, SelectedLetter, SelectedLine
- puppetSprite(18, 0)
- puppetSprite(44, 0)
- puppetSprite(23, 0)
- puppetSprite(26, 0)
- puppetSprite(28, 0)
- puppetSprite(22, 0)
- updateStage()
- set SelectedLine to 0
- set the castNum of sprite 38 to the number of cast "down"
- if NowMode = "Stories" then
- set theField to "StoryList"
- set theSelected to SelectedStory
- else
- set theField to "AbcList"
- set theSelected to SelectedLetter
- end if
- repeat while the mouseDown
- if StartTermLine <> 2 then
- puppetSound("Click")
- set EndTermLine to EndTermLine - 1
- set StartTermLine to StartTermLine - 1
- set Counter to 0
- repeat with i = StartTermLine to EndTermLine
- set newItem to item i of line theSelected of field theField
- set Counter to Counter + 1
- put newItem into line Counter of field "termsText"
- end repeat
- if StartTermLine = 2 then
- set the castNum of sprite 39 to 0
- end if
- end if
- updateStage()
- end repeat
- end
-